<style>
    div {
        background-color: blue;
        height: 100px;
        width: 100px;
        margin: auto;
    }
</style>
<div></div>